home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1995 June / MacFormat 25.iso / Shareware City / Developers / OutOfPhase1.1 Source / OutOfPhase Folder / LinearTransition.h < prev    next >
Text File  |  1994-06-19  |  1KB  |  37 lines

  1. /* LinearTransition.h */
  2.  
  3. #ifndef Included_LinearTransition_h
  4. #define Included_LinearTransition_h
  5.  
  6. /* LinearTransition module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* Memory */
  12.  
  13. struct LinearTransRec;
  14. typedef struct LinearTransRec LinearTransRec;
  15.  
  16. /* open a new linear transition state record */
  17. LinearTransRec*            NewLinearTransition(long Start, long Destination, long TicksToReach);
  18.  
  19. /* refill a linear transition with new state information */
  20. void                                RefillLinearTransition(LinearTransRec* TransRec, long Start,
  21.                                             long Destination, long TicksToReach);
  22.  
  23. /* get rid of a linear transition state record */
  24. void                                DisposeLinearTransition(LinearTransRec* TransRec);
  25.  
  26. /* get rid of all cached transition state records */
  27. void                                FlushLinearTransitionRecords(void);
  28.  
  29. /* execute one cycle and return the value */
  30. long                                LinearTransitionUpdate(LinearTransRec* TransRec);
  31.  
  32. /* execute multiple cycles and return the value */
  33. long                                LinearTransitionUpdateMultiple(LinearTransRec* TransRec,
  34.                                             long NumCycles);
  35.  
  36. #endif
  37.